package com.etc.admin.controller;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.etc.admin.service.OrderEcharService;
import com.etc.admin.service.OrderService;
import com.etc.admin.service.OrderViewService;
import com.etc.admin.service.RoomService;
import com.etc.entity.Order;
import com.etc.entity.OrderEchar;
import com.etc.entity.OrderView;
import com.etc.entity.Room;
import com.etc.util.CommonMessage;
import com.etc.util.PageData;

@Controller
public class OrderEcharController {
	@Resource(name = "orderEcharService")
	private OrderEcharService oe;

	@RequestMapping(value = "orderEchar")
	@ResponseBody
	public List<OrderEchar> showOrderEchar() {
		List<OrderEchar> list = oe.getOrderEchar();
		
		System.out.println(list);
		return list;
	}

}
